package com.jack.payment.dao.user;

import com.jack.payment.entity.generate.user.UserPaymentModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserPaymentDao {
    /**
     * 获取指定用户的
     * @param userId
     * @return
     */
    List<UserPaymentModel> getAppointUserPayment(@Param("userId") String userId);

    /**
     * 新增
     * @param userPaymentModel
     * @return
     */
    boolean insertUserPayment(UserPaymentModel userPaymentModel);

    /**
     * 修改
     * @param userPaymentModel
     * @return
     */
    boolean updateUserPayment(UserPaymentModel userPaymentModel);
}
